package com.InfinityRun;

import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;

public class Score 
{	
	float count = 0;
	Paint paint;
	
	public Score()
	{
		paint = new Paint();
		paint.setColor(Color.WHITE);
		paint.setTextSize(30);
	}
	public void draw(Canvas c)
	{
		c.drawText("Pontos = " + ((int)count),MainGame.getWidth() *0.1f, MainGame.getHeight() *0.05f, paint);
		//c.drawText("Melhor ponto =" + ((int)count),MainGame.getWidth() *0.1f, MainGame.getHeight() *0.13f, paint);

	}
	public void update(float deltaTime)
	{
		count += deltaTime * 5;
	}
}
